home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 8 / IOPROG_8.ISO / soft / sdkplnet / mac / plgsk401.sit / PluginSDK 4.01a / Examples / CharFlipper / Source / WinFlipView.h < prev   
Encoding:
C/C++ Source or Header  |  1996-07-09  |  1.2 KB  |  57 lines

  1. // WinFlipView.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CWinFlipView window
  6. #include "CFlipView.h"
  7.  
  8. class CFlipView;
  9. class CCharFlipper;
  10.  
  11. class CWinFlipView : public CWnd, public CFlipView
  12. {
  13. // Construction
  14. public:
  15.     CWinFlipView( CCharFlipper* inController );
  16.  
  17. // Attributes
  18. public:
  19.  
  20. // Operations
  21. public:
  22. //    virtual NPError        SetWindow( NPWindow* inWindow );
  23. //    virtual void        Paint();
  24.  
  25. //    CCharFlipper*        GetCFController() {return (CCharFlipper*) mController;};
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CWinFlipView)
  29.     //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. public:
  33.     virtual ~CWinFlipView();
  34.  
  35.     // Generated message map functions
  36. protected:
  37.     //{{AFX_MSG(CWinFlipView)
  38.     afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  39.     afx_msg void OnPaint();
  40.     afx_msg void OnTimer(UINT nIDEvent);
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43.     
  44. // CPluginView implementations
  45. public:
  46.     NPWindow*            GetWindow();
  47.  
  48.     virtual NPError        SetWindow( NPWindow* inWindow );
  49.     virtual void        Paint();
  50.  
  51. protected:
  52.     NPWindow*            mWindow;
  53.     UINT                mTimer;
  54. };
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57.